package com.jintian.smart.kernel.core.web;

public enum ResultCode {
    /**
     * 操作成功
     */
    SUCCESS(200, "操作成功"), ERROR(500, "操作失败");

    /**
     * 状态码
     */
    final int code;
    /**
     * 消息内容
     */
    final String message;

    private ResultCode(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
